import request from '@/utils/request'

export function fetchList(query) {
  return request({
    url: '/workTask/student/page',
    method: 'get',
    params: query
  })
}


export function getQuestion(query) {
  return request({
    url: '/workTask/student/getQuestion',
    method: 'get',
    params: query
  })
}

export function addQuestionItem(obj) {
  return request({
    url: '/workTask/student/addQuestionItem',
    method: 'post',
    data: obj
  })
}
export function getQuestionResult(query) {
  return request({
    url: '/workTask/student/getQuestionResult',
    method: 'get',
    params: query
  })
}

